package com.jwb.config.security;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "rsa")
@PropertySource(value = "prop/key.properties")
@Data
@ToString(exclude = "private_key")
public class RSAKey {

    private String public_key;

    private String private_key;

}
